<template>
  <div class="download-center">
    <TaskList moduleType="import" :taskSource="taskSource"></TaskList>
  </div>
</template>

<script lang="ts">
import { Component, Vue } from 'vue-property-decorator'
import TaskList from '../common/TaskList.vue'
@Component({
  name: 'ImportIndex',
  components: { TaskList }
})
export default class ImportIndex extends Vue {
  private taskSource: object[] = [ // 任务来源
    { name: '客户导入', _id: 'customer' },
    { name: '预览外呼', _id: 'previewDialout' },
    { name: '自动外呼', _id: 'autoCallTask' },
    { name: '号码管理', _id: 'sip' },
    { name: '知识库', _id: 'km' },
    { name: '座席导入', _id: 'agent' },
    { name: '公共常用语', _id: 'commonqr' },
    { name: '个人常用语', _id: 'agentqr' },
    { name: '在线会话标签', _id: 'sessionTags' }
  ]
}
</script>

<style lang="stylus" scoped>
.download-center
  height 100%
  position relative
</style>
